// 公共接口
import globalConfig from "@/utils/config.js";
import {filePost, request} from "@/utils/http.js";

const baseUrl = globalConfig.baseUrl;
const apiUrl = globalConfig.baseUrl;

export default {
    addWifiData: (data) => {
        return request({
            url: `${baseUrl}content/wifi`, method: "POST", data
        });
    },

    searchWifiData: (data) => {
        return request({
            url: `${baseUrl}content/wifi/list`, method: "GET", data
        });
    },

    //获取tabbar信息
    getTabBar: (data) => {
        return request({
            url: `${baseUrl}content/tabbar/list`, method: "GET", data
        });
    },

    //获取滚动信息
    getNoticeMessage: (data) => {
        return request({
            url: `${baseUrl}/content/message/list`, method: "GET", data
        });
    },
    //获取banner信息
    getBannerList: (data) => {
        return request({
            url: `${baseUrl}/content/banner/list`, method: "GET", data
        });
    },
}
